# # -*- coding: utf-8 -*-
from flask import render_template, make_response, request

def error_404(error):
    response = make_response(render_template('error/page_404.html'))
    print(f'{request.url}===404  ')
    return response

def error_403(error):
    response = make_response(render_template('error/page_403.html'))
    print(f'{request.url}===403  ')
    return response
def error_500(error):
    response = make_response(render_template('error/page_500.html'))
    print(f'{request.url}===500  ')
    return response
    # return jsonify({'code': 0, 'msg': '404'})

